---
title: Preload Languages
description: Plugins - Preload Languages | Transloco Angular i18n
---

This plugin provides the functionality of preloading the provided languages when the browser is idle by using the `requestIdleCallback` API.

## Installation
```bash
npm install @ngneat/transloco-preload-langs
```

## Usage
```ts title="transloco-root.module.ts"
import { TranslocoPreloadLangsModule } from '@ngneat/transloco-preload-langs';

@NgModule({
  imports: [
    TranslocoPreloadLangsModule.preload(['es', 'some-scope'])
  ]
  ...
})
export class TranslocoRootModule {}
```
